EXEC=alix
OBJFILES=alix.o

%.o:%.cpp
	g++ $< -c -o $@ -Wall -pg

${EXEC}: ${OBJFILES}
	g++ ${OBJFILES} -o ${EXEC} -pg `allegro-config --libs`

clean:
	rm ${EXEC} ${OBJFILES}
